package com.myjava.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * Excel导出字段注解
 * @Project: datacenter-parent
 * @Author: chendongliang
 * @Date: 2018/8/24 9:35
 */
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ExcelExpField {

    String title();   //标题

    int colIndex();   //列索引

    String formatter() default "yyyy-MM-dd HH:mm:ss" ; //时间格式
}
